'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_COMPLUS = 0x11 (17)
    Public NotInheritable Class ComPlus
        Private Sub New()
        End Sub

        Public Shared ReadOnly COMADMIN_E_OBJECTERRORS As HResult = &H80110401
        Public Shared ReadOnly COMADMIN_E_OBJECTINVALID As HResult = &H80110402
        Public Shared ReadOnly COMADMIN_E_KEYMISSING As HResult = &H80110403
        Public Shared ReadOnly COMADMIN_E_ALREADYINSTALLED As HResult = &H80110404
        Public Shared ReadOnly COMADMIN_E_APP_FILE_WRITEFAIL As HResult = &H80110407
        Public Shared ReadOnly COMADMIN_E_APP_FILE_READFAIL As HResult = &H80110408
        Public Shared ReadOnly COMADMIN_E_APP_FILE_VERSION As HResult = &H80110409
        Public Shared ReadOnly COMADMIN_E_BADPATH As HResult = &H8011040A
        Public Shared ReadOnly COMADMIN_E_APPLICATIONEXISTS As HResult = &H8011040B
        Public Shared ReadOnly COMADMIN_E_ROLEEXISTS As HResult = &H8011040C
        Public Shared ReadOnly COMADMIN_E_CANTCOPYFILE As HResult = &H8011040D
        Public Shared ReadOnly COMADMIN_E_NOUSER As HResult = &H8011040F
        Public Shared ReadOnly COMADMIN_E_INVALIDUSERIDS As HResult = &H80110410
        Public Shared ReadOnly COMADMIN_E_NOREGISTRYCLSID As HResult = &H80110411
        Public Shared ReadOnly COMADMIN_E_BADREGISTRYPROGID As HResult = &H80110412
        Public Shared ReadOnly COMADMIN_E_AUTHENTICATIONLEVEL As HResult = &H80110413
        Public Shared ReadOnly COMADMIN_E_USERPASSWDNOTVALID As HResult = &H80110414
        Public Shared ReadOnly COMADMIN_E_CLSIDORIIDMISMATCH As HResult = &H80110418
        Public Shared ReadOnly COMADMIN_E_REMOTEINTERFACE As HResult = &H80110419
        Public Shared ReadOnly COMADMIN_E_DLLREGISTERSERVER As HResult = &H8011041A
        Public Shared ReadOnly COMADMIN_E_NOSERVERSHARE As HResult = &H8011041B
        Public Shared ReadOnly COMADMIN_E_DLLLOADFAILED As HResult = &H8011041D
        Public Shared ReadOnly COMADMIN_E_BADREGISTRYLIBID As HResult = &H8011041E
        Public Shared ReadOnly COMADMIN_E_APPDIRNOTFOUND As HResult = &H8011041F
        Public Shared ReadOnly COMADMIN_E_REGISTRARFAILED As HResult = &H80110423
        Public Shared ReadOnly COMADMIN_E_COMPFILE_DOESNOTEXIST As HResult = &H80110424
        Public Shared ReadOnly COMADMIN_E_COMPFILE_LOADDLLFAIL As HResult = &H80110425
        Public Shared ReadOnly COMADMIN_E_COMPFILE_GETCLASSOBJ As HResult = &H80110426
        Public Shared ReadOnly COMADMIN_E_COMPFILE_CLASSNOTAVAIL As HResult = &H80110427
        Public Shared ReadOnly COMADMIN_E_COMPFILE_BADTLB As HResult = &H80110428
        Public Shared ReadOnly COMADMIN_E_COMPFILE_NOTINSTALLABLE As HResult = &H80110429
        Public Shared ReadOnly COMADMIN_E_NOTCHANGEABLE As HResult = &H8011042A
        Public Shared ReadOnly COMADMIN_E_NOTDELETEABLE As HResult = &H8011042B
        Public Shared ReadOnly COMADMIN_E_SESSION As HResult = &H8011042C
        Public Shared ReadOnly COMADMIN_E_COMP_MOVE_LOCKED As HResult = &H8011042D
        Public Shared ReadOnly COMADMIN_E_COMP_MOVE_BAD_DEST As HResult = &H8011042E
        Public Shared ReadOnly COMADMIN_E_REGISTERTLB As HResult = &H80110430
        Public Shared ReadOnly COMADMIN_E_SYSTEMAPP As HResult = &H80110433
        Public Shared ReadOnly COMADMIN_E_COMPFILE_NOREGISTRAR As HResult = &H80110434
        Public Shared ReadOnly COMADMIN_E_COREQCOMPINSTALLED As HResult = &H80110435
        Public Shared ReadOnly COMADMIN_E_SERVICENOTINSTALLED As HResult = &H80110436
        Public Shared ReadOnly COMADMIN_E_PROPERTYSAVEFAILED As HResult = &H80110437
        Public Shared ReadOnly COMADMIN_E_OBJECTEXISTS As HResult = &H80110438
        Public Shared ReadOnly COMADMIN_E_COMPONENTEXISTS As HResult = &H80110439
        Public Shared ReadOnly COMADMIN_E_REGFILE_CORRUPT As HResult = &H8011043B
        Public Shared ReadOnly COMADMIN_E_PROPERTY_OVERFLOW As HResult = &H8011043C
        Public Shared ReadOnly COMADMIN_E_NOTINREGISTRY As HResult = &H8011043E
        Public Shared ReadOnly COMADMIN_E_OBJECTNOTPOOLABLE As HResult = &H8011043F
        Public Shared ReadOnly COMADMIN_E_APPLID_MATCHES_CLSID As HResult = &H80110446
        Public Shared ReadOnly COMADMIN_E_ROLE_DOES_NOT_EXIST As HResult = &H80110447
        Public Shared ReadOnly COMADMIN_E_START_APP_NEEDS_COMPONENTS As HResult = &H80110448
        Public Shared ReadOnly COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM As HResult = &H80110449
        Public Shared ReadOnly COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY As HResult = &H8011044A
        Public Shared ReadOnly COMADMIN_E_CAN_NOT_START_APP As HResult = &H8011044B
        Public Shared ReadOnly COMADMIN_E_CAN_NOT_EXPORT_SYS_APP As HResult = &H8011044C
        Public Shared ReadOnly COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT As HResult = &H8011044D
        Public Shared ReadOnly COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER As HResult = &H8011044E
        Public Shared ReadOnly COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE As HResult = &H8011044F
        Public Shared ReadOnly COMADMIN_E_BASE_PARTITION_ONLY As HResult = &H80110450
        Public Shared ReadOnly COMADMIN_E_START_APP_DISABLED As HResult = &H80110451
        Public Shared ReadOnly COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME As HResult = &H80110457
        Public Shared ReadOnly COMADMIN_E_CAT_INVALID_PARTITION_NAME As HResult = &H80110458
        Public Shared ReadOnly COMADMIN_E_CAT_PARTITION_IN_USE As HResult = &H80110459
        Public Shared ReadOnly COMADMIN_E_FILE_PARTITION_DUPLICATE_FILES As HResult = &H8011045A
        Public Shared ReadOnly COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED As HResult = &H8011045B
        Public Shared ReadOnly COMADMIN_E_AMBIGUOUS_APPLICATION_NAME As HResult = &H8011045C
        Public Shared ReadOnly COMADMIN_E_AMBIGUOUS_PARTITION_NAME As HResult = &H8011045D
        Public Shared ReadOnly COMADMIN_E_REGDB_NOTINITIALIZED As HResult = &H80110472
        Public Shared ReadOnly COMADMIN_E_REGDB_NOTOPEN As HResult = &H80110473
        Public Shared ReadOnly COMADMIN_E_REGDB_SYSTEMERR As HResult = &H80110474
        Public Shared ReadOnly COMADMIN_E_REGDB_ALREADYRUNNING As HResult = &H80110475
        Public Shared ReadOnly COMADMIN_E_MIG_VERSIONNOTSUPPORTED As HResult = &H80110480
        Public Shared ReadOnly COMADMIN_E_MIG_SCHEMANOTFOUND As HResult = &H80110481
        Public Shared ReadOnly COMADMIN_E_CAT_BITNESSMISMATCH As HResult = &H80110482
        Public Shared ReadOnly COMADMIN_E_CAT_UNACCEPTABLEBITNESS As HResult = &H80110483
        Public Shared ReadOnly COMADMIN_E_CAT_WRONGAPPBITNESS As HResult = &H80110484
        Public Shared ReadOnly COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED As HResult = &H80110485
        Public Shared ReadOnly COMADMIN_E_CAT_SERVERFAULT As HResult = &H80110486
        Public Shared ReadOnly COMQC_E_APPLICATION_NOT_QUEUED As HResult = &H80110600
        Public Shared ReadOnly COMQC_E_NO_QUEUEABLE_INTERFACES As HResult = &H80110601
        Public Shared ReadOnly COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE As HResult = &H80110602
        Public Shared ReadOnly COMQC_E_NO_IPERSISTSTREAM As HResult = &H80110603
        Public Shared ReadOnly COMQC_E_BAD_MESSAGE As HResult = &H80110604
        Public Shared ReadOnly COMQC_E_UNAUTHENTICATED As HResult = &H80110605
        Public Shared ReadOnly COMQC_E_UNTRUSTED_ENQUEUER As HResult = &H80110606
        Public Shared ReadOnly MSDTC_E_DUPLICATE_RESOURCE As HResult = &H80110701
        Public Shared ReadOnly COMADMIN_E_OBJECT_PARENT_MISSING As HResult = &H80110808
        Public Shared ReadOnly COMADMIN_E_OBJECT_DOES_NOT_EXIST As HResult = &H80110809
        Public Shared ReadOnly COMADMIN_E_APP_NOT_RUNNING As HResult = &H8011080A
        Public Shared ReadOnly COMADMIN_E_INVALID_PARTITION As HResult = &H8011080B
        Public Shared ReadOnly COMADMIN_E_SVCAPP_NOT_POOLABLE_OR_RECYCLABLE As HResult = &H8011080D
        Public Shared ReadOnly COMADMIN_E_USER_IN_SET As HResult = &H8011080E
        Public Shared ReadOnly COMADMIN_E_CANTRECYCLELIBRARYAPPS As HResult = &H8011080F
        Public Shared ReadOnly COMADMIN_E_CANTRECYCLESERVICEAPPS As HResult = &H80110811
        Public Shared ReadOnly COMADMIN_E_PROCESSALREADYRECYCLED As HResult = &H80110812
        Public Shared ReadOnly COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED As HResult = &H80110813
        Public Shared ReadOnly COMADMIN_E_CANTMAKEINPROCSERVICE As HResult = &H80110814
        Public Shared ReadOnly COMADMIN_E_PROGIDINUSEBYCLSID As HResult = &H80110815
        Public Shared ReadOnly COMADMIN_E_DEFAULT_PARTITION_NOT_IN_SET As HResult = &H80110816
        Public Shared ReadOnly COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED As HResult = &H80110817
        Public Shared ReadOnly COMADMIN_E_PARTITION_ACCESSDENIED As HResult = &H80110818
        Public Shared ReadOnly COMADMIN_E_PARTITION_MSI_ONLY As HResult = &H80110819
        Public Shared ReadOnly COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_1_0_FORMAT As HResult = &H8011081A
        Public Shared ReadOnly COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_NONBASE_PARTITIONS As HResult = &H8011081B
        Public Shared ReadOnly COMADMIN_E_COMP_MOVE_SOURCE As HResult = &H8011081C
        Public Shared ReadOnly COMADMIN_E_COMP_MOVE_DEST As HResult = &H8011081D
        Public Shared ReadOnly COMADMIN_E_COMP_MOVE_PRIVATE As HResult = &H8011081E
        Public Shared ReadOnly COMADMIN_E_BASEPARTITION_REQUIRED_IN_SET As HResult = &H8011081F
        Public Shared ReadOnly COMADMIN_E_CANNOT_ALIAS_EVENTCLASS As HResult = &H80110820
        Public Shared ReadOnly COMADMIN_E_PRIVATE_ACCESSDENIED As HResult = &H80110821
        Public Shared ReadOnly COMADMIN_E_SAFERINVALID As HResult = &H80110822
        Public Shared ReadOnly COMADMIN_E_REGISTRY_ACCESSDENIED As HResult = &H80110823
        Public Shared ReadOnly COMADMIN_E_PARTITIONS_DISABLED As HResult = &H80110824
    End Class

End Namespace